/*
 * XML Type:  MemoSourceType
 * Namespace: http://www.data-archive.ac.uk/dext/schema/draft
 * Java type: uk.da.dext.MemoSourceType
 *
 * Automatically generated - do not modify.
 */
package uk.da.dext;


/**
 * An XML MemoSourceType(@http://www.data-archive.ac.uk/dext/schema/draft).
 *
 * This is a complex type.
 */
public interface MemoSourceType extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(MemoSourceType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("memosourcetype806atype");
    
    /**
     * Gets the "id" attribute
     */
    java.lang.String getId();
    
    /**
     * Gets (as xml) the "id" attribute
     */
    org.apache.xmlbeans.XmlID xgetId();
    
    /**
     * Sets the "id" attribute
     */
    void setId(java.lang.String id);
    
    /**
     * Sets (as xml) the "id" attribute
     */
    void xsetId(org.apache.xmlbeans.XmlID id);
    
    /**
     * Gets the "cdate" attribute
     */
    java.util.Calendar getCdate();
    
    /**
     * Gets (as xml) the "cdate" attribute
     */
    org.apache.xmlbeans.XmlDateTime xgetCdate();
    
    /**
     * True if has "cdate" attribute
     */
    boolean isSetCdate();
    
    /**
     * Sets the "cdate" attribute
     */
    void setCdate(java.util.Calendar cdate);
    
    /**
     * Sets (as xml) the "cdate" attribute
     */
    void xsetCdate(org.apache.xmlbeans.XmlDateTime cdate);
    
    /**
     * Unsets the "cdate" attribute
     */
    void unsetCdate();
    
    /**
     * Gets the "mdate" attribute
     */
    java.util.Calendar getMdate();
    
    /**
     * Gets (as xml) the "mdate" attribute
     */
    org.apache.xmlbeans.XmlDateTime xgetMdate();
    
    /**
     * True if has "mdate" attribute
     */
    boolean isSetMdate();
    
    /**
     * Sets the "mdate" attribute
     */
    void setMdate(java.util.Calendar mdate);
    
    /**
     * Sets (as xml) the "mdate" attribute
     */
    void xsetMdate(org.apache.xmlbeans.XmlDateTime mdate);
    
    /**
     * Unsets the "mdate" attribute
     */
    void unsetMdate();
    
    /**
     * Gets the "creator" attribute
     */
    java.lang.String getCreator();
    
    /**
     * Gets (as xml) the "creator" attribute
     */
    org.apache.xmlbeans.XmlString xgetCreator();
    
    /**
     * True if has "creator" attribute
     */
    boolean isSetCreator();
    
    /**
     * Sets the "creator" attribute
     */
    void setCreator(java.lang.String creator);
    
    /**
     * Sets (as xml) the "creator" attribute
     */
    void xsetCreator(org.apache.xmlbeans.XmlString creator);
    
    /**
     * Unsets the "creator" attribute
     */
    void unsetCreator();
    
    /**
     * Gets the "label" attribute
     */
    java.lang.String getLabel();
    
    /**
     * Gets (as xml) the "label" attribute
     */
    org.apache.xmlbeans.XmlString xgetLabel();
    
    /**
     * True if has "label" attribute
     */
    boolean isSetLabel();
    
    /**
     * Sets the "label" attribute
     */
    void setLabel(java.lang.String label);
    
    /**
     * Sets (as xml) the "label" attribute
     */
    void xsetLabel(org.apache.xmlbeans.XmlString label);
    
    /**
     * Unsets the "label" attribute
     */
    void unsetLabel();
    
    /**
     * Gets the "displayLabel" attribute
     */
    java.lang.String getDisplayLabel();
    
    /**
     * Gets (as xml) the "displayLabel" attribute
     */
    org.apache.xmlbeans.XmlString xgetDisplayLabel();
    
    /**
     * True if has "displayLabel" attribute
     */
    boolean isSetDisplayLabel();
    
    /**
     * Sets the "displayLabel" attribute
     */
    void setDisplayLabel(java.lang.String displayLabel);
    
    /**
     * Sets (as xml) the "displayLabel" attribute
     */
    void xsetDisplayLabel(org.apache.xmlbeans.XmlString displayLabel);
    
    /**
     * Unsets the "displayLabel" attribute
     */
    void unsetDisplayLabel();
    
    /**
     * Gets the "language" attribute
     */
    java.lang.String getLanguage();
    
    /**
     * Gets (as xml) the "language" attribute
     */
    org.apache.xmlbeans.XmlLanguage xgetLanguage();
    
    /**
     * True if has "language" attribute
     */
    boolean isSetLanguage();
    
    /**
     * Sets the "language" attribute
     */
    void setLanguage(java.lang.String language);
    
    /**
     * Sets (as xml) the "language" attribute
     */
    void xsetLanguage(org.apache.xmlbeans.XmlLanguage language);
    
    /**
     * Unsets the "language" attribute
     */
    void unsetLanguage();
    
    /**
     * Gets the "sequence" attribute
     */
    int getSequence();
    
    /**
     * Gets (as xml) the "sequence" attribute
     */
    org.apache.xmlbeans.XmlInt xgetSequence();
    
    /**
     * True if has "sequence" attribute
     */
    boolean isSetSequence();
    
    /**
     * Sets the "sequence" attribute
     */
    void setSequence(int sequence);
    
    /**
     * Sets (as xml) the "sequence" attribute
     */
    void xsetSequence(org.apache.xmlbeans.XmlInt sequence);
    
    /**
     * Unsets the "sequence" attribute
     */
    void unsetSequence();
    
    /**
     * Gets the "size" attribute
     */
    long getSize();
    
    /**
     * Gets (as xml) the "size" attribute
     */
    org.apache.xmlbeans.XmlLong xgetSize();
    
    /**
     * True if has "size" attribute
     */
    boolean isSetSize();
    
    /**
     * Sets the "size" attribute
     */
    void setSize(long size);
    
    /**
     * Sets (as xml) the "size" attribute
     */
    void xsetSize(org.apache.xmlbeans.XmlLong size);
    
    /**
     * Unsets the "size" attribute
     */
    void unsetSize();
    
    /**
     * Gets the "location" attribute
     */
    java.lang.String getLocation();
    
    /**
     * Gets (as xml) the "location" attribute
     */
    org.apache.xmlbeans.XmlAnyURI xgetLocation();
    
    /**
     * Sets the "location" attribute
     */
    void setLocation(java.lang.String location);
    
    /**
     * Sets (as xml) the "location" attribute
     */
    void xsetLocation(org.apache.xmlbeans.XmlAnyURI location);
    
    /**
     * Gets the "locType" attribute
     */
    uk.da.dext.MemoSourceType.LocType.Enum getLocType();
    
    /**
     * Gets (as xml) the "locType" attribute
     */
    uk.da.dext.MemoSourceType.LocType xgetLocType();
    
    /**
     * True if has "locType" attribute
     */
    boolean isSetLocType();
    
    /**
     * Sets the "locType" attribute
     */
    void setLocType(uk.da.dext.MemoSourceType.LocType.Enum locType);
    
    /**
     * Sets (as xml) the "locType" attribute
     */
    void xsetLocType(uk.da.dext.MemoSourceType.LocType locType);
    
    /**
     * Unsets the "locType" attribute
     */
    void unsetLocType();
    
    /**
     * Gets the "otherLocType" attribute
     */
    java.lang.String getOtherLocType();
    
    /**
     * Gets (as xml) the "otherLocType" attribute
     */
    org.apache.xmlbeans.XmlString xgetOtherLocType();
    
    /**
     * True if has "otherLocType" attribute
     */
    boolean isSetOtherLocType();
    
    /**
     * Sets the "otherLocType" attribute
     */
    void setOtherLocType(java.lang.String otherLocType);
    
    /**
     * Sets (as xml) the "otherLocType" attribute
     */
    void xsetOtherLocType(org.apache.xmlbeans.XmlString otherLocType);
    
    /**
     * Unsets the "otherLocType" attribute
     */
    void unsetOtherLocType();
    
    /**
     * Gets the "checksumType" attribute
     */
    uk.da.dext.MemoSourceType.ChecksumType.Enum getChecksumType();
    
    /**
     * Gets (as xml) the "checksumType" attribute
     */
    uk.da.dext.MemoSourceType.ChecksumType xgetChecksumType();
    
    /**
     * True if has "checksumType" attribute
     */
    boolean isSetChecksumType();
    
    /**
     * Sets the "checksumType" attribute
     */
    void setChecksumType(uk.da.dext.MemoSourceType.ChecksumType.Enum checksumType);
    
    /**
     * Sets (as xml) the "checksumType" attribute
     */
    void xsetChecksumType(uk.da.dext.MemoSourceType.ChecksumType checksumType);
    
    /**
     * Unsets the "checksumType" attribute
     */
    void unsetChecksumType();
    
    /**
     * Gets the "otherCheckSumType" attribute
     */
    java.lang.String getOtherCheckSumType();
    
    /**
     * Gets (as xml) the "otherCheckSumType" attribute
     */
    org.apache.xmlbeans.XmlString xgetOtherCheckSumType();
    
    /**
     * True if has "otherCheckSumType" attribute
     */
    boolean isSetOtherCheckSumType();
    
    /**
     * Sets the "otherCheckSumType" attribute
     */
    void setOtherCheckSumType(java.lang.String otherCheckSumType);
    
    /**
     * Sets (as xml) the "otherCheckSumType" attribute
     */
    void xsetOtherCheckSumType(org.apache.xmlbeans.XmlString otherCheckSumType);
    
    /**
     * Unsets the "otherCheckSumType" attribute
     */
    void unsetOtherCheckSumType();
    
    /**
     * Gets the "checksumValue" attribute
     */
    java.lang.String getChecksumValue();
    
    /**
     * Gets (as xml) the "checksumValue" attribute
     */
    org.apache.xmlbeans.XmlString xgetChecksumValue();
    
    /**
     * True if has "checksumValue" attribute
     */
    boolean isSetChecksumValue();
    
    /**
     * Sets the "checksumValue" attribute
     */
    void setChecksumValue(java.lang.String checksumValue);
    
    /**
     * Sets (as xml) the "checksumValue" attribute
     */
    void xsetChecksumValue(org.apache.xmlbeans.XmlString checksumValue);
    
    /**
     * Unsets the "checksumValue" attribute
     */
    void unsetChecksumValue();
    
    /**
     * Gets the "mimeType" attribute
     */
    java.lang.String getMimeType();
    
    /**
     * Gets (as xml) the "mimeType" attribute
     */
    org.apache.xmlbeans.XmlString xgetMimeType();
    
    /**
     * True if has "mimeType" attribute
     */
    boolean isSetMimeType();
    
    /**
     * Sets the "mimeType" attribute
     */
    void setMimeType(java.lang.String mimeType);
    
    /**
     * Sets (as xml) the "mimeType" attribute
     */
    void xsetMimeType(org.apache.xmlbeans.XmlString mimeType);
    
    /**
     * Unsets the "mimeType" attribute
     */
    void unsetMimeType();
    
    /**
     * Gets the "resourceType" attribute
     */
    uk.da.dext.MemoSourceType.ResourceType.Enum getResourceType();
    
    /**
     * Gets (as xml) the "resourceType" attribute
     */
    uk.da.dext.MemoSourceType.ResourceType xgetResourceType();
    
    /**
     * Sets the "resourceType" attribute
     */
    void setResourceType(uk.da.dext.MemoSourceType.ResourceType.Enum resourceType);
    
    /**
     * Sets (as xml) the "resourceType" attribute
     */
    void xsetResourceType(uk.da.dext.MemoSourceType.ResourceType resourceType);
    
    /**
     * Gets the "otherResourceType" attribute
     */
    java.lang.String getOtherResourceType();
    
    /**
     * Gets (as xml) the "otherResourceType" attribute
     */
    org.apache.xmlbeans.XmlString xgetOtherResourceType();
    
    /**
     * True if has "otherResourceType" attribute
     */
    boolean isSetOtherResourceType();
    
    /**
     * Sets the "otherResourceType" attribute
     */
    void setOtherResourceType(java.lang.String otherResourceType);
    
    /**
     * Sets (as xml) the "otherResourceType" attribute
     */
    void xsetOtherResourceType(org.apache.xmlbeans.XmlString otherResourceType);
    
    /**
     * Unsets the "otherResourceType" attribute
     */
    void unsetOtherResourceType();
    
    /**
     * An XML locType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.MemoSourceType$LocType.
     */
    public interface LocType extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(LocType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("loctype89a8attrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum URN = Enum.forString("urn");
        static final Enum URL = Enum.forString("url");
        static final Enum PURL = Enum.forString("purl");
        static final Enum HANDLE = Enum.forString("handle");
        static final Enum DOI = Enum.forString("doi");
        static final Enum OTHER = Enum.forString("other");
        
        static final int INT_URN = Enum.INT_URN;
        static final int INT_URL = Enum.INT_URL;
        static final int INT_PURL = Enum.INT_PURL;
        static final int INT_HANDLE = Enum.INT_HANDLE;
        static final int INT_DOI = Enum.INT_DOI;
        static final int INT_OTHER = Enum.INT_OTHER;
        
        /**
         * Enumeration value class for uk.da.dext.MemoSourceType$LocType.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_URN
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_URN = 1;
            static final int INT_URL = 2;
            static final int INT_PURL = 3;
            static final int INT_HANDLE = 4;
            static final int INT_DOI = 5;
            static final int INT_OTHER = 6;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("urn", INT_URN),
                    new Enum("url", INT_URL),
                    new Enum("purl", INT_PURL),
                    new Enum("handle", INT_HANDLE),
                    new Enum("doi", INT_DOI),
                    new Enum("other", INT_OTHER),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.MemoSourceType.LocType newValue(java.lang.Object obj) {
              return (uk.da.dext.MemoSourceType.LocType) type.newValue( obj ); }
            
            public static uk.da.dext.MemoSourceType.LocType newInstance() {
              return (uk.da.dext.MemoSourceType.LocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.MemoSourceType.LocType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.MemoSourceType.LocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * An XML checksumType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.MemoSourceType$ChecksumType.
     */
    public interface ChecksumType extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ChecksumType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("checksumtype2bcdattrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum HAVAL = Enum.forString("haval");
        static final Enum MD_5 = Enum.forString("md-5");
        static final Enum SHA_1 = Enum.forString("sha-1");
        static final Enum SHA_256 = Enum.forString("sha-256");
        static final Enum SHA_384 = Enum.forString("sha-384");
        static final Enum SHA_512 = Enum.forString("sha-512");
        static final Enum TIGER = Enum.forString("tiger");
        static final Enum WHIRLPOOL = Enum.forString("whirlpool");
        static final Enum CRC_32 = Enum.forString("crc32");
        static final Enum ADLER_32 = Enum.forString("adler32");
        static final Enum OTHER = Enum.forString("other");
        
        static final int INT_HAVAL = Enum.INT_HAVAL;
        static final int INT_MD_5 = Enum.INT_MD_5;
        static final int INT_SHA_1 = Enum.INT_SHA_1;
        static final int INT_SHA_256 = Enum.INT_SHA_256;
        static final int INT_SHA_384 = Enum.INT_SHA_384;
        static final int INT_SHA_512 = Enum.INT_SHA_512;
        static final int INT_TIGER = Enum.INT_TIGER;
        static final int INT_WHIRLPOOL = Enum.INT_WHIRLPOOL;
        static final int INT_CRC_32 = Enum.INT_CRC_32;
        static final int INT_ADLER_32 = Enum.INT_ADLER_32;
        static final int INT_OTHER = Enum.INT_OTHER;
        
        /**
         * Enumeration value class for uk.da.dext.MemoSourceType$ChecksumType.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_HAVAL
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_HAVAL = 1;
            static final int INT_MD_5 = 2;
            static final int INT_SHA_1 = 3;
            static final int INT_SHA_256 = 4;
            static final int INT_SHA_384 = 5;
            static final int INT_SHA_512 = 6;
            static final int INT_TIGER = 7;
            static final int INT_WHIRLPOOL = 8;
            static final int INT_CRC_32 = 9;
            static final int INT_ADLER_32 = 10;
            static final int INT_OTHER = 11;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("haval", INT_HAVAL),
                    new Enum("md-5", INT_MD_5),
                    new Enum("sha-1", INT_SHA_1),
                    new Enum("sha-256", INT_SHA_256),
                    new Enum("sha-384", INT_SHA_384),
                    new Enum("sha-512", INT_SHA_512),
                    new Enum("tiger", INT_TIGER),
                    new Enum("whirlpool", INT_WHIRLPOOL),
                    new Enum("crc32", INT_CRC_32),
                    new Enum("adler32", INT_ADLER_32),
                    new Enum("other", INT_OTHER),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.MemoSourceType.ChecksumType newValue(java.lang.Object obj) {
              return (uk.da.dext.MemoSourceType.ChecksumType) type.newValue( obj ); }
            
            public static uk.da.dext.MemoSourceType.ChecksumType newInstance() {
              return (uk.da.dext.MemoSourceType.ChecksumType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.MemoSourceType.ChecksumType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.MemoSourceType.ChecksumType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * An XML resourceType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.MemoSourceType$ResourceType.
     */
    public interface ResourceType extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ResourceType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("resourcetypec2e2attrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum TEXT = Enum.forString("text");
        static final Enum AUDIO = Enum.forString("audio");
        static final Enum VIDEO = Enum.forString("video");
        static final Enum IMAGE = Enum.forString("image");
        static final Enum XML = Enum.forString("xml");
        static final Enum OTHER = Enum.forString("other");
        
        static final int INT_TEXT = Enum.INT_TEXT;
        static final int INT_AUDIO = Enum.INT_AUDIO;
        static final int INT_VIDEO = Enum.INT_VIDEO;
        static final int INT_IMAGE = Enum.INT_IMAGE;
        static final int INT_XML = Enum.INT_XML;
        static final int INT_OTHER = Enum.INT_OTHER;
        
        /**
         * Enumeration value class for uk.da.dext.MemoSourceType$ResourceType.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_TEXT
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_TEXT = 1;
            static final int INT_AUDIO = 2;
            static final int INT_VIDEO = 3;
            static final int INT_IMAGE = 4;
            static final int INT_XML = 5;
            static final int INT_OTHER = 6;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("text", INT_TEXT),
                    new Enum("audio", INT_AUDIO),
                    new Enum("video", INT_VIDEO),
                    new Enum("image", INT_IMAGE),
                    new Enum("xml", INT_XML),
                    new Enum("other", INT_OTHER),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.MemoSourceType.ResourceType newValue(java.lang.Object obj) {
              return (uk.da.dext.MemoSourceType.ResourceType) type.newValue( obj ); }
            
            public static uk.da.dext.MemoSourceType.ResourceType newInstance() {
              return (uk.da.dext.MemoSourceType.ResourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.MemoSourceType.ResourceType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.MemoSourceType.ResourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static uk.da.dext.MemoSourceType newInstance() {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static uk.da.dext.MemoSourceType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static uk.da.dext.MemoSourceType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static uk.da.dext.MemoSourceType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static uk.da.dext.MemoSourceType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static uk.da.dext.MemoSourceType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static uk.da.dext.MemoSourceType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static uk.da.dext.MemoSourceType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static uk.da.dext.MemoSourceType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static uk.da.dext.MemoSourceType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.MemoSourceType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.MemoSourceType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.MemoSourceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
